package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报餐统计对象 sys_meal_statistics
 *
 * @author jijinwu
 * @date 2024-07-19
 */
@ApiModel(value = "报餐统计")
public class SysMealStatistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", dataType = "Long")
    private Long id;

    /**
     * 报餐时间
     */
    @ApiModelProperty(value = "报餐时间", dataType = "Date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报餐时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /**
     * 报餐人数
     */
    @ApiModelProperty(value = "报餐人数", dataType = "Integer")
    @Excel(name = "报餐人数")
    private Integer count;

    /**
     * 报餐操作人ID
     */
    @ApiModelProperty(value = "报餐操作人ID", dataType = "Long")
    private Long userId;

    /**
     * 报餐部门ID
     */
    @ApiModelProperty(value = "报餐部门ID", dataType = "Long")
    private Long deptId;

    /** 报餐记录uuid */
    @ApiModelProperty(value = "报餐记录uuid",dataType = "String")
    private String mealUuid;
    /**
     * 所属公司ID
     */
    @ApiModelProperty(value = "所属公司ID", dataType = "Long")
    private Long companyId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCount() {
        return count;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public String getMealUuid() {
        return mealUuid;
    }

    public void setMealUuid(String mealUuid) {
        this.mealUuid = mealUuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderTime", getOrderTime())
                .append("count", getCount())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("companyId", getCompanyId())
                .toString();
    }
}
